package cate.game.role.res.channelgift.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBChannelGift;
import cate.game.role.res.channelgift.core.SingleChannelGiftPO;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "渠道礼包信息 返回")
public class ChannelGiftInfoResp implements MsgOutput {
    @NoteField("所有的渠道礼包")
    public Map<Integer, SingleChannelGiftPO> allGifts;

    @Override
    public MsgConfig conf() {
        return MsgIdBChannelGift.CHANNEL_GIFT_INFO_RESP;
    }

    public ChannelGiftInfoResp() {

    }

    public ChannelGiftInfoResp(Map<Integer, SingleChannelGiftPO> allGifts) {
        this.allGifts = allGifts;
    }
}
